package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 
 *
 * @author code-generate
 * @date 2021-08-06
 */
@Data
@DbTable(tableName = "t_facilities_file")
public class FacilitiesFile extends BaseEntity {
        /**
     * t_facilities.c_id
     */
    @DbTableField(columnName = "c_main_id", dbType = DbTypeEnum.INTEGER)
    public Integer mainId ;

    /**
     * 文件ID
     */
    @DbTableField(columnName = "c_file_id", dbType = DbTypeEnum.VARCHAR)
    public String fileId ;

    /**
     * 文件名称
     */
    @DbTableField(columnName = "c_file_name", dbType = DbTypeEnum.VARCHAR)
    public String fileName ;

    /**
     * 文件类型
     */
    @DbTableField(columnName = "c_file_type_id", dbType = DbTypeEnum.INTEGER)
    public Integer fileTypeId ;

    /**
     * 文件后缀
     */
    @DbTableField(columnName = "c_file_type", dbType = DbTypeEnum.VARCHAR)
    public String fileType ;

    /**
     * 数据类型。
     */
    @DbTableField(columnName = "c_date_type", dbType = DbTypeEnum.INTEGER)
    public Integer dateType ;

    /**
     * 创建时间
     */
    public LocalDateTime dbCreateDate ;

    /**
     * 创建人ID t_sys_user.c_id
     */
    public Integer dbCreateId ;

    /**
     * 更新时间
     */
    public LocalDateTime dbLastUpdateDate ;

    /**
     * 更新人员ID t_sys_user.c_id
     */
    public Integer dbLastUpdateId ;


}
